package wexin.web.jpa.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import wexin.web.jpa.domain.Article;
import wexin.web.jpa.domain.ArticleType;

public interface ArticleService {
	
	Page<Article> findAll(Pageable pageable);
	
	Page<Article> findByType(ArticleType type, Pageable pageable);
}
